﻿@model DotNet.Model.MyEntity.Base_Role
<div class="pageFormContent" layouth="60">
    <table width="95%" class="tab01 tabNo">
        <tr>
            <td class="td1" style="width:25%;">
                    名称：
            </td>
            <td>
                @Html.TextBoxFor(m => m.Realname, new Dictionary<string, object> { { "class", "input02" } })
                @Html.ValidationMessageFor(m=>m.Realname)
                @Html.Raw(Model == null || Model.Id == null ? "" : "<input type=\"hidden\" value=\"" + Model.Id + "\" id=\"Id\" name=\"Id\" />")
            </td>
        </tr>
        <tr>
            <td class="td1">
                    编号：
            </td>
            <td>
                @Html.TextBoxFor(m => m.Code, new Dictionary<string, object> { { "class", "input02" } })
            </td>
        </tr>
        <tr>
            <td class="td1">
            </td>
            <td>
                <input type="checkbox" name="Enabled" id="Enabled" value="1"  @Html.Raw(Model == null || Model.Enabled == null ? "checked='checked'" : (Model.Enabled == 1 ? "checked='checked'" : "")) />有效
            </td>
        </tr>
        <tr>
            <td class="td1">
                    描述：
            </td>
            <td>
                @Html.TextAreaFor(m => m.Description, new Dictionary<string, object> { { "class", "input02" } })
            </td>
        </tr>
    </table>
</div>
